<template>
  <wd-config-provider
    :themeVars="themeStore.themeVars"
    :theme="themeStore.theme"
    :custom-class="themeStore.theme"
  >
    <slot />
    <wd-toast />
    <wd-message-box />
  </wd-config-provider>
</template>

<script lang="ts" setup>
import { useThemeStore } from '@/store/theme'
const themeStore = useThemeStore()
</script>
